﻿package mortal.game.view.FirstRechargeDay500
{
    import flash.events.*;
    import mortal.game.resource.*;
    import mortal.game.view.FirstRechargeDay500.rechargeDaily.*;
    import mortal.game.view.common.*;

    public class FirstRechargeDay500Icon extends ActionBaseIcon
    {
        private static var _instance:FirstRechargeDay500Icon;

        public function FirstRechargeDay500Icon()
        {
            super(ResFileConst.FirstRechargeDay500Icon);
            return;
        }// end function

        override protected function clickHandler(event:MouseEvent) : void
        {
            RechargeDailyTotalModule.instance.show();
            return;
        }// end function

        public static function hasInstance() : Boolean
        {
            return _instance != null;
        }// end function

        public static function get instance() : FirstRechargeDay500Icon
        {
            if (!_instance)
            {
                _instance = new FirstRechargeDay500Icon;
            }
            return _instance;
        }// end function

    }
}
